package com.dzl.constant;

/**
 * 财务相关的枚举对象
 * @author liuguanjun
 * @since 2022-02-23 17:46:43
 */
public enum WelfareFinanceEnum {

    //财务打款状态
    FINANCE_PAYMENT_STATUS_NOT_PUSHED(0, "未推送"),
    FINANCE_PAYMENT_STATUS_UNPAID(1, "未打款"),
    FINANCE_PAYMENT_STATUS_PAID(2, "已打款"),
    FINANCE_PAYMENT_STATUS_REJECTED(3, "已驳回"),

    //财务打款类型
    FINANCE_PAYMENT_TYPE_REAL_TIME(1, "实时结算"),
    FINANCE_PAYMENT_TYPE_ADVANCE_CHARGE(2, "预付款"),
    FINANCE_PAYMENT_TYPE_MONTH(3, "月结算"),
    FINANCE_PAYMENT_TYPE_WEEK(4, "周结算"),
    FINANCE_PAYMENT_TYPE_NO_SETTLEMENT(5, "不结算"),

    //供应商打款方式
    SUPPLIER_PAYMENT_TYPE_CORPORATE(1, "对公账户"),
    SUPPLIER_PAYMENT_TYPE_ALIPAY(2, "支付宝"),
    SUPPLIER_PAYMENT_TYPE_OTHER(3, "其他");

    private Integer code;
    private String name;

    WelfareFinanceEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}